var bcrypt = require('bcryptjs');

module.exports={
    hashSync:password=>bcrypt.hashSync(password,5),
    compareSync: (password,hash) => bcrypt.compareSync(password,hash)
}